package com.gduf.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gduf.common.utils.PageUtils;
import com.gduf.gulimall.product.entity.AttrEntity;
import com.gduf.gulimall.product.entity.AttrGroupEntity;
import com.gduf.gulimall.product.entity.vo.AttrGroupEntityVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author masterXiao
 * @email sunlightcs@gmail.com
 * @date 2023-03-16 11:42:04
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    PageUtils getNoAttrRelation(Map<String, Object> params, long attrGroupId);

    List<AttrGroupEntityVo> queryGroupWithAttr(long catelogId);
}

